package com.thiswhyme.gateway.dynamic.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @description: 路由nacos配置
 * @author: thiswhyme
 * @date: 2020/8/27
 */
@Data
@Configuration
@ConfigurationProperties(prefix="thiswhyme.gateway.routes.nacos", ignoreUnknownFields = true)
public class NacosRouteProperties {

    private String address;

    private String dataId;

    private String groupId = "DEFAULT_GROUP";

    private Long timeout = 5000L;

    private String namespace;
}
